package fr.esigelec.simulateur.dao;

import java.util.List;

import org.w3c.dom.Document;

import com.google.android.gms.maps.model.LatLng;

import fr.esigelec.simulateur.dto.Consigne;

import android.content.Context;

/**
 * @author Anthony Juanes
 *
 */
public interface IVitesseConsigneDAO {
	public Document getDocument(Context c, String nomFichier);
	public int getDurationValue(Document doc);
	public int getDistanceValue(Document doc);
	public String getDurationText(Document doc);
	public String getDistanceText(Document doc);
	public String getStartAddress(Document doc);
	public String getEndAddress(Document doc);
	public LatLng getStartLocation(Document doc);
	public LatLng getEndLocation(Document doc);
	public List<Double> getElevation(Document doc);
	public List<Double> getAngle(Document doc);
	public List<Consigne> getListVitesseBDD(List<Double> listAngle);
	public List<Integer> getListVitesseXML(Document doc);
	public List<LatLng> getLatLng(Document doc);
	public List<Consigne> addVitesse(Document doc);
	public boolean deleteFile(String nomFichier);	
}
